package com.ruoyi.system.domain.fx;

import com.fasterxml.jackson.annotation.JsonTypeId;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 加盟对象 fx_to_join
 * 
 * @author ruoyi
 * @date 2024-08-19
 */
@Data
@Accessors(chain = true)
public class FxToJoin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 是否删除 */
    private Long id;

    /** 用户类型（3供应商，4店铺） */
    @Excel(name = "用户类型", readConverterExp = "3=供应商，4店铺")
    private Integer roleType;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 联系人 */
    @Excel(name = "联系人")
    private String name;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String storeName;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 在售类型 */
    @Excel(name = "在售类型")
    private String saleType;

    /** 状态（0待审核，1已审核） */
    @Excel(name = "状态", readConverterExp = "0=待审核，1已审核")
    private Integer status;

    /** 删除标志（0存在 1删除） */
    private Integer delFlag;

    /** 用户id */
    private Long sysuserId;

    /** 是否启用；1：启用；2禁用 */
    @Excel(name = "是否启用；1：启用；2禁用")
    private Long isAbleUse;

    /** 店铺/供应商图片 */
    private String img;

    /** 营业执照图片 */
    private String licenseImg;

    /** 店铺id */
    private Long storeId;

    /** 申请人id */
    private Long applyId;

    public Long getSysuserId() {
        return sysuserId;
    }

    public void setSysuserId(Long sysuserId) {
        this.sysuserId = sysuserId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRoleType(Integer roleType) 
    {
        this.roleType = roleType;
    }

    public Integer getRoleType() 
    {
        return roleType;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStoreName(String storeName) 
    {
        this.storeName = storeName;
    }

    public String getStoreName() 
    {
        return storeName;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setSaleType(String saleType) 
    {
        this.saleType = saleType;
    }

    public String getSaleType() 
    {
        return saleType;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roleType", getRoleType())
            .append("phone", getPhone())
            .append("name", getName())
            .append("storeName", getStoreName())
            .append("productName", getProductName())
            .append("address", getAddress())
            .append("saleType", getSaleType())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
